package cn.iocoder.yudao.module.system.controller.admin.a_manuscriptLog.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author lxj
 */
@Schema(description = "管理后台 - 稿件管理 - 稿件日志 Request VO")
@Data
@ToString(callSuper = true)
public class ManuscriptReqVO {


    /**
     * 稿件关联id
     */
    @Schema(description = "关联id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "关联id不能为空")
    private String relevanceId;

    /**
     * 稿件版本
     */
    @Schema(description = "版本号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "版本号不能为空")
    private Integer version;

    /**
     * 稿件版本
     */
    @Schema(description = "稿件类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "稿件类型不能为空")
    private Integer type;

    /**
     * 创建人id
     */
    @Schema(description = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "创建人不能为空")
    private String createUserId;

    /**
     * 日志创建时间
     */
    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "创建时间不能为空")
    private String createTime;


}
